package com.hmall.client;

import com.hmall.pojo.Item;
import com.hmall.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("searchservice")
public interface SearchClient {
    @PutMapping("/search/update")
    public void updateES(@RequestBody Item item);
}
